package com.jielin.handling.service.material;

import java.util.List;

import com.jielin.handling.entity.material.MaterialType;
import com.jielin.handling.entity.material.Node;

public interface MaterialTypeService {

    List<MaterialType> findMaterialByAllAndName(String caseCode, String policeId, String caseSuspectId,
                                                String materialTypeName, int isRetract);// 模糊查询一级卷宗信息

    MaterialType findById(String materialtypeid);// 根据id查询

    List<MaterialType> findMeaterialmodel(String caseCode, String caseName, String policeId, String caseSuspectId,
                                          int isRetract);// 根据案件编号查询卷宗目录（如果没有就新增卷宗一级目录）

    List<Node> findMeaterialTree(String caseCode, String caseName, String policeId, String caseSuspectId,
                                 int isRetract);// 加载打包的树

    /**
     * 查询一级卷宗信息
     *
     * @param caseCode
     * @param caseName
     * @param policeId
     * @param caseSuspectId
     * @param isRetract
     * @return
     */
    List<MaterialType> findMeaterialmodel2(String caseCode, String caseName, String policeId, String caseSuspectId, int isRetract);
}
